package top.kiterunner.learning.designpatterns_test.strategy_pattern;

/**
 * AdorynZhao in Tencent-UESTC.
 * Source Code Created on 2017/7/31.
 */
public class TakenContext {

    private IStrategy strategy;

    public TakenContext(IStrategy strategy) {
        this.strategy = strategy;
    }

    public void operate() {
        this.strategy.operate();
    }
}
